<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Appid')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-appid" class="form-control" name="row[appid]" type="number">-->
<!--        </div>-->
<!--    </div>-->

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="">
        </div>
    </div>



    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Plaza_post_id')}:</label>
        <div class="col-xs-12 col-sm-8">
<!--            <input id="c-plaza_post_id" data-rule="required" data-source="plaza/post/index" class="form-control selectpage" name="row[plaza_post_id]" type="text" value="">-->
            <select id="c-plaza_post_id" data-rule="required" class="form-control selectpicker" name="row[plaza_post_id]">
                {foreach $plaza_post_list as $v}
                <option value="{$v.id}" >{$v.postname}</option>
                {/foreach}
            </select>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Comment')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-comment" data-rule="required" class="form-control" name="row[comment]"  cols="30" rows="10"></textarea>
<!--            <input id="c-comment" data-rule="required" class="form-control" name="row[comment]" type="text">-->
        </div>
    </div>

<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('P_id')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-p_id" data-rule="required" data-source="p/index" class="form-control selectpage" name="row[p_id]" type="text" value="">-->
<!--        </div>-->
<!--    </div>-->

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
